/*
 * @filename JobLog.java
 * 
 * @author barry
 * 
 * @version 0.0.1
 * 
 * @date 2019年12月10日
 */
package com.bnzj.core.quartz.log;

import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author barry
 * @date 2019-12-10
 */
@Schema(description="定时任务日志", implementation = JobLog.class)
public interface JobLog {
    // private String name;
    // private String description;
    // private String triggerName;
    // private Date startTime;
    // private Date endTime;
    // private Float runTime;
    // private Boolean flag;
    // private String remark;

    @Schema(description="名称")
    String getName();

    void setName(String name);

    @Schema(description="描述")
    String getDescription();

    void setDescription(String description);

    @Schema(description="执行器名称")
    String getTriggerName();

    void setTriggerName(String triggerName);

    @Schema(description="开始时间")
    Date getStartTime();

    void setStartTime(Date startTime);

    @Schema(description="结束时间")
    Date getEndTime();

    void setEndTime(Date endTime);

    @Schema(description="持续运行时长")
    Float getRunTime();

    void setRunTime(Float runTime);

    @Schema(description="标记")
    Boolean getFlag();

    void setFlag(Boolean flag);

    @Schema(description="备注")
    String getRemark();

    void setRemark(String remark);
}
